﻿<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@include file="/WEB-INF/pages/common/taglibs.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<% 
response.setHeader("Pragma","No-cache");    
response.setHeader("Cache-Control","no-cache");    
response.setDateHeader("Expires", -10);   
%> 
<title>实验室管理系统_用户登录</title>
<script language="javascript" src="${context_path}/js/page.js"></script>
<script language="javascript" src="${context_path}/js/jquery.js"></script>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	overflow: hidden;
	background-image: url(${context_path}/images/bj1-1.jpg);
}

.STYLE1 {
	color: #003366;
	font-size: 14px;
}
-->
</style>
</head>
<script>
function closeWindow(str){
	window.parent.opener=null;   
	window.parent.open('','_top');   
	window.parent.close(); 
}

</script>
<link rel="stylesheet" href="${context_path}/css/sys.css"
	type="text/css">

<body>

<table width="976" border="0" align="center" cellpadding="0"
	cellspacing="0">
	<tr>
		<td width="198" height="680" align="right" valign="top"
			background="${context_path}/images/bj.gif"><img
			src="${context_path}/images/bj1.gif" width="198" height="680"></td>
		<td width="599" valign="top">
		<table width="599" border="0" align="center" cellpadding="0"
			cellspacing="0">
			<tr>
				<td height="150" background="${context_path}/images/1.gif"><img
					src="${context_path}/images/1-1.gif" width="599" height="158"></td>
			</tr>
		</table>
		<table width="599" border="0" align="center" cellpadding="0"
			cellspacing="0">
			<tr>
				<td height="47" background="${context_path}/images/2-1.gif">&nbsp;</td>
			</tr>
		</table>
		<table width="599" border="0" align="center" cellpadding="0"
			cellspacing="0">
			<tr>
				<td width="155"><img src="${context_path}/images/3-1-1.gif"
					width="155" height="65"></td>
				<td width="444"><img src="${context_path}/images/8.jpg"
					width="444" height="65"></td>
			</tr>
			<tr>
				<td width="155"><img src="${context_path}/images/4.gif"
					width="155" height="142"></td>
				<td background="${context_path}/images/7.gif">
				<table width="323" border="0" cellpadding="0" cellspacing="0">
					<tr>
						<td width="81">&nbsp;</td>
						<td width="242"><s:form action="login" theme="simple"
							namespace="/admin">
							<table width="220" border="0" cellspacing="0" cellpadding="0">
								
								<tr>
									<td width="58" height="25" class="STYLE1">用户名：</td>
									<td width="162" height="25"><s:textfield
										name="user.username" cssClass="STYLE1"
										cssStyle="border:#81A8D1 1px solid;height:20px;with:150px"
										value="" size="20"></s:textfield></td>
								</tr>
								<tr>
									<td height="25" class="STYLE1">密 码：</td>
									<td height="25"><s:password name="user.password"
										cssClass="STYLE1"
										cssStyle="border:#81A8D1 1px solid; height:20px;with:150px"
										value="" size="20"></s:password></td>
								</tr>
								<tr>
									<td height="25" colspan="2" align="center" class="STYLE1">
									<s:radio name="type" list="#{0:'管理员' ,1:'教师' }" value="0"></s:radio></td>
								</tr>
								<tr>
									<td height="34" colspan="2" align="center"><s:submit
										value="登 陆" onkeydown="if (event.keyCode==13)login.submit()"></s:submit> <s:reset value="重 置">
									</s:reset></td>
								</tr>
								<tr>
									<td height="34" colspan="2" align="center"><s:actionmessage/> </td>
								</tr>
							</table>
						</s:form></td>
					</tr>
				</table>
				</td>
			</tr>
			<tr>
				<td width="78" valign="top"><img
					src="${context_path}/images/5.gif" width="155" height="194"></td>
				<td width="77" valign="top"><img
					src="${context_path}/images/6.gif" width="444" height="194"></td>
			</tr>
		</table>
		</td>
		<td width="179" background="${context_path}/images/bj.gif"><img
			src="${context_path}/images/bj222.gif" width="179" height="680"></td>
	</tr>
</table>

</body>
</html>